package com.lsh.streamgd.db.dao;

import com.wds.LSH.beans.User;

import java.util.List;

public interface UserMapper {

	List<User> userLogin(User user);
	List<User> isEmailVerified(User user);
	void userRegister(User user);
	int deleteByPrimaryKey(int id);
	void updateByPrimaryKeySelective(User user);
	int isAccountExisted(User user);
	List<User> getAllUser();
	void updateUserPwd(String pwd, String phoneNo);
	void updateUserPwdByEmail(String pwd, String email);
	void enableEmailAccount(String email);
	int checkUserExists(User user);
	int getRemainCoinByUserId(int userId);
	void updateRemainCoinByUserId(int remainCoin, int userId);

}